package com.itheima.ydd.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.itheima.ydd.entity.SysRole;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class SysRoleDto extends SysRole implements Serializable {

    private LocalDateTime create_date;

    private LocalDateTime update_date;

    private String del_flag;

    private String role_id;

    @JsonProperty(value = "menuids")
    private List<String> role_menus;

    private List<SysMenuDto> authList;
}
